const Live = {
  //默认跳转到首页
  path: "/live",
  name: "Live",
  component: () => import("@/layout/index.vue"),
  meta: {
    title: "开播",
    icon: "system",
    hidden: false,
    requiresAuth: true,
  },
  children: [
    {
      path: "setting",
      component: () => import("@/views/live/setting/index.vue"),
      // 用于 keep-alive 功能，需要与 SFC 中自动推导或显式声明的组件名称一致
      // 参考文档: https://cn.vuejs.org/guide/built-ins/keep-alive.html#include-exclude
      name: "setting",
      meta: {
        title: "开播",
        icon: "role",
        // affix: true,
        keepAlive: true,
      },
    },
  ],
};

export default Live;
